
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>zookeeper07acl权限控制 · Zookeeper</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="<yangxin19970404@163.com>">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="zookeeper08javaApi连接zookeeper.html" />
    
    
    <link rel="prev" href="zookeeper06监听器.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="zookeeper01概述.html">
            
                <a href="zookeeper01概述.html">
            
                    
                    zookeeper01概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="zookeeper02数据模型.html">
            
                <a href="zookeeper02数据模型.html">
            
                    
                    zookeeper02数据模型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="zookeeper03单机安装.html">
            
                <a href="zookeeper03单机安装.html">
            
                    
                    zookeeper03单机安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="zookeeper04新增节点.html">
            
                <a href="zookeeper04新增节点.html">
            
                    
                    zookeeper04新增节点
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="zookeeper05操作节点.html">
            
                <a href="zookeeper05操作节点.html">
            
                    
                    zookeeper05操作节点
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="zookeeper06监听器.html">
            
                <a href="zookeeper06监听器.html">
            
                    
                    zookeeper06监听器
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.8" data-path="zookeeper07acl权限控制.html">
            
                <a href="zookeeper07acl权限控制.html">
            
                    
                    zookeeper07acl权限控制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="zookeeper08javaApi连接zookeeper.html">
            
                <a href="zookeeper08javaApi连接zookeeper.html">
            
                    
                    zookeeper08javaApi连接zookeeper
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="zookeeper09事件监听机制watcher.html">
            
                <a href="zookeeper09事件监听机制watcher.html">
            
                    
                    zookeeper09事件监听机制watcher
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >zookeeper07acl权限控制</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h3 id="zookeeper&#x7684;acl&#x6743;&#x9650;&#x63A7;&#x5236;">zookeeper&#x7684;acl&#x6743;&#x9650;&#x63A7;&#x5236;</h3>
<ul>
<li><p><strong>zookeeper&#x7C7B;&#x4F3C;&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;,client&#x53EF;&#x4EE5;&#x521B;&#x5EFA;&#x8282;&#x70B9;,&#x66F4;&#x65B0;&#x8282;&#x70B9;,&#x5220;&#x9664;&#x8282;&#x70B9;,&#x90A3;&#x4E48;&#x5982;&#x4F55;&#x505A;&#x5230;&#x8282;&#x70B9;&#x7684;&#x6743;&#x9650;&#x63A7;&#x5236;&#x5462;,zookeeper&#x7684;access control list&#x8BBF;&#x95EE;&#x63A7;&#x5236;&#x53EF;&#x4EE5;&#x505A;&#x5230;&#x8FD9;&#x4E00;&#x70B9;</strong></p>
</li>
<li><p>acl&#x7684;&#x6743;&#x9650;&#x63A7;&#x5236;,&#x4F7F;&#x7528;scheme : id : permission &#x6765;&#x6807;&#x8BC6;,&#x4E3B;&#x8981;&#x6DB5;&#x76D6;3&#x4E2A;&#x65B9;&#x9762;</p>
<ul>
<li>&#x6743;&#x9650;&#x6A21;&#x5F0F;(scheme) : &#x6388;&#x6743;&#x7684;&#x7B56;&#x7565;</li>
<li>&#x6388;&#x6743;&#x5BF9;&#x8C61;(id) : &#x6388;&#x6743;&#x5BF9;&#x8C61;</li>
<li>&#x6743;&#x9650;(permission) : &#x6388;&#x4E88;&#x7684;&#x6743;&#x9650;</li>
<li>zookeeper&#x7684;&#x6743;&#x9650;&#x63A7;&#x5236;&#x662F;&#x57FA;&#x4E8E;&#x6BCF;&#x4E2A;znode&#x8282;&#x70B9;&#x7684;,&#x9700;&#x8981;&#x5BF9;&#x6BCF;&#x4E2A;&#x8282;&#x70B9;&#x8FDB;&#x884C;&#x8BBE;&#x7F6E;</li>
<li>&#x6BCF;&#x4E2A;Znode&#x652F;&#x6301;&#x591A;&#x4E2A;&#x6743;&#x9650;&#x63A7;&#x5236;&#x65B9;&#x6848;&#x548C;&#x591A;&#x4E2A;&#x6743;&#x9650;,</li>
<li>&#x5B50;&#x8282;&#x70B9;&#x4E0D;&#x4F1A;&#x7EE7;&#x627F;&#x7236;&#x8282;&#x70B9;&#x7684;&#x6743;&#x9650;,&#x5BA2;&#x6237;&#x7AEF;&#x65E0;&#x6743;&#x8BBF;&#x95EE;&#x67D0;&#x8282;&#x70B9;,&#x4F46;&#x53EF;&#x4EE5;&#x8BBF;&#x95EE;&#x5B83;&#x7684;&#x5B50;&#x8282;&#x70B9;</li>
</ul>
</li>
</ul>
<blockquote>
<p>&#x4F8B;&#x5982;</p>
</blockquote>
<p><img src="./imgs/&#x5FAE;&#x4FE1;&#x622A;&#x56FE;_20210329202029.png" alt=""></p>
<hr>
<p><img src="./imgs/&#x5FAE;&#x4FE1;&#x622A;&#x56FE;_20210329201849.png" alt=""></p>
<p><img src="./imgs/&#x5FAE;&#x4FE1;&#x622A;&#x56FE;_20210329201939.png" alt=""></p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="zookeeper06监听器.html" class="navigation navigation-prev " aria-label="Previous page: zookeeper06监听器">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="zookeeper08javaApi连接zookeeper.html" class="navigation navigation-next " aria-label="Next page: zookeeper08javaApi连接zookeeper">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"zookeeper07acl权限控制","level":"1.8","depth":1,"next":{"title":"zookeeper08javaApi连接zookeeper","level":"1.9","depth":1,"path":"zookeeper08javaApi连接zookeeper.md","ref":"zookeeper08javaApi连接zookeeper.md","articles":[]},"previous":{"title":"zookeeper06监听器","level":"1.7","depth":1,"path":"zookeeper06监听器.md","ref":"zookeeper06监听器.md","articles":[]},"dir":"ltr"},"config":{"plugins":[],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"<yangxin19970404@163.com>","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Zookeeper","language":"zh-hans","gitbook":"3.2.3","description":"Zookeeper > 分布式服务管理框架"},"file":{"path":"zookeeper07acl权限控制.md","mtime":"2021-03-29T12:21:09.386Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-04-17T08:10:28.423Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

